home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / CTRLBA.PAK / CTLBMAC.R next >
Text File  |  1997-05-06  |  3KB  |  170 lines

  1. #include    "mrc\types.r"
  2. #include    "mrc\balloons.r"
  3. #include        "resource.h"
  4. #include        "systypes.r"
  5.  
  6. /////////////////////////////////////////////////////////////////////////
  7. // WLM resources
  8.  
  9. #include    "ftab.r"
  10.  
  11.  
  12. /////////////////////////////////////////////////////////////////////////
  13. // MFC resources
  14.  
  15. #include    "afxaete.r"
  16.  
  17.  
  18. /////////////////////////////////////////////////////////////////////////
  19. // Code fragment resource
  20.  
  21. #include    "CodeFrag.r"
  22.  
  23.  
  24. /////////////////////////////////////////////////////////////////////////
  25. // CtrlBars resources
  26.  
  27. resource 'SIZE' (-1)
  28. {
  29.     reserved,
  30.     acceptSuspendResumeEvents,
  31.     reserved,
  32.     canBackground,
  33.     doesActivateOnFGSwitch,
  34.     backgroundAndForeground,
  35.     dontGetFrontClicks,
  36.     ignoreAppDiedEvents,
  37.     is32BitCompatible,
  38.     isHighLevelEventAware,
  39.     localAndRemoteHLEvents,
  40.     notStationeryAware,
  41.     dontUseTextEditServices,
  42.     reserved,
  43.     reserved,
  44.     reserved,
  45. #ifdef _MPPC_
  46.     2500 * 1024,
  47.     2500 * 1024
  48. #else    // 68K Mac
  49. #ifdef _DEBUG
  50.     3000 * 1024,
  51.     3000 * 1024
  52. #else
  53.     2000 * 1024,
  54.     2000 * 1024
  55. #endif
  56. #endif
  57. };
  58.  
  59. resource 'vers' (1)
  60. {
  61.     0x01,
  62.     0x00,
  63.     final,
  64.     0x00,
  65.     verUS,
  66.     "1.0",
  67.     "ControlBars 1.0, Copyright \251 Microsoft Corp. 1994-1995"
  68. };
  69.  
  70. resource 'BNDL' (128)
  71. {
  72.     'CTLB',
  73.     0,
  74.     {
  75.         'FREF',
  76.         {
  77.             0, 128
  78.         },
  79.         'ICN#',
  80.         {
  81.             0, IDR_MAINFRAME
  82.         }
  83.     }
  84. };
  85.  
  86. type 'CTLB' as 'STR ';
  87. resource 'CTLB' (0)
  88. {
  89.     "ControlBars 1.0 Copyright \251 1994-1995 Microsoft Corp."
  90. };
  91.  
  92. resource 'FREF' (128)
  93. {
  94.     'APPL',
  95.     0,
  96.     ""
  97. };
  98.  
  99. /* Balloon help resources */
  100.  
  101. resource 'hfdr' (-5696)
  102. {
  103.     HelpMgrVersion, hmDefaultOptions, 0, 0,
  104.     {
  105.         HMSTRResItem {500}
  106.     }
  107. };
  108.  
  109. resource 'hovr' (1000)
  110. {
  111.     HelpMgrVersion, hmDefaultOptions, 0, 0,
  112.  
  113.         HMStringItem    /* missing items override */
  114.         {
  115.             "Miscellaneous part of the Microsoft ControlBars "
  116.             "Sample Application."
  117.         },
  118.         {
  119.             HMSkipItem {},  /* title bar */
  120.             HMSkipItem {},  /* reserved. always skip item here */
  121.             HMStringItem    /* close box */
  122.             {
  123.                 "Click here to close the Microsoft ControlBars "
  124.                 "Sample Application."
  125.             },
  126.             HMStringItem    /* zoom box */
  127.             {
  128.                 "Click here to Zoom In or Zoom Out."
  129.             },
  130.             HMSkipItem {},  /* active app's inactive window */
  131.             HMStringItem    /* inactive app's window */
  132.             {
  133.                 "This is not part of the Microsoft ControlBars "
  134.                 "Application. It may be part of the Apple "
  135.                 "Finder, or some other application."
  136.             },
  137.             HMSkipItem {}   /* outside modal dialog */
  138.         }
  139. };
  140.  
  141. #ifdef _MPPC_
  142. resource 'STR ' (500)
  143. {
  144.     "This is the Win32 ControlBars sample application "
  145.     "ported to the Power Macintosh using Microsoft VC++ "
  146.     "Edition for the Apple Power Macintosh"
  147. };
  148. #else    // 68K Mac
  149. resource 'STR ' (500)
  150. {
  151.     "This is the Win32 ControlBars sample application "
  152.     "ported to the Macintosh using Microsoft VC++ Edition "
  153.     "for the Apple Macintosh"
  154. };
  155. #endif
  156.  
  157. #ifdef _MPPC_
  158. resource 'cfrg' (0) {
  159.   {
  160.     kPowerPC,
  161.     kFullLib,
  162.     kNoVersionNum,kNoVersionNum,
  163.     0, 0,
  164.     kIsApp,kOnDiskFlat,kZeroOffset,kWholeFork,
  165.     ""
  166.   }
  167. };
  168. #endif
  169.  
  170.